import request from '@/api/request.js'


//  获取文章详情
export const get_article_detail = (params)=>{
	return request.post('/api/get_article_detail',params)
}

//  获取评论列表
export const get_comment_list = (params)=>{
	return request.post('/api/get_comment_list',params)
}
//  文章点赞
export const article_like = (params)=>{
	return request.post('/api/like',params)
}
//  取消文章点赞
export const article_unlike = (params)=>{
	return request.post('/api/unlike',params)
}
//  收藏文章
export const add_fav = (params)=>{
	return request.post('/api/add_fav',params)
}
//  取消收藏文章
export const remove_fav = (params)=>{
	return request.post('/api/remove_fav',params)
}
//  回复/评论
export const add_comment = (params)=>{
	return request.post('/api/add_comment',params)
}
//  回复点赞
export const comment_like = (params)=>{
	return request.post('/api/comment_like',params)
}
//  取消回复点赞
export const comment_unlike = (params)=>{
	return request.post('/api/comment_unlike',params)
}
//  获取回复列表
export const get_reply_list = (params)=>{
	return request.post('/api/get_reply_list',params)
}

